export class IdInstance {
    static id: IdInstance = new IdInstance();
    private constructor() { }
    static getId(): number {
        return this.id.newId();
    }
    private count: number = 0;
    newId(): number {
        return this.count++;
    }
}
